<!--
$(document).ready(function () {
	//Png Fix
	//$("img").pngfix();
	
	//callmission_nav
	$(".btn").hover(
					function(){
						$(this).find('img:first').attr('src','images/btn/left_over.jpg');
						$(this).find('img:last').attr('src','images/btn/right_over.jpg');
						$(this).find('span').css('color','#000');
						},
					function(){
						$(this).find('img:first').attr('src','images/btn/left.jpg');
						$(this).find('img:last').attr('src','images/btn/right.jpg');
						$(this).find('span').css('color','');
						}
					);
	$(".btn_phone").hover(
						  function(){$(this).css('background-color','#858585').css('color','#fff');},
						  function(){$(this).css('background','none').css('color','');}
						  );
	
	
	$(".bo").hover(
 
						  function(){
						 
							  $(this).css('background-color','#858585').css('color','#fff');},
						  function(){

							  var bg=$(".bobg")	.html();	  						  
							  $(this).css('background',bg).css('color','');}
						  );
	
	
	
	$(".fa").hover(
 
						  function(){
						 
							  $(this).css('background-color','#858585').css('color','#fff');},
						  function(){

							    var bg=$(".fabg").html();	  						  
							  $(this).css('background',bg).css('color','');}
						  );
	


	

	//tablebofa
	$(".record_grid").find("table").find("tbody").find("tr").find("td").hover(
												  function(){$(this).parent().find("td").css('background-color','#ffc');},
												  function(){$(this).parent().find("td").css('background-color','');}
												  );
});

var countRecord = 0;

function statusRecord(msg){
	//alert(getNow()+" - "+msg);
	countRecord++;
	var newDiv = "<div class=\"record\" id=\"status_rec_"+countRecord+"\"><label>"+getNow()+"</label> <span>"+msg+"</span> "+countRecord+"</div>";
	$("#meeting_record").prepend(newDiv);
	//setTimeout(function(){
						$("#status_rec_"+countRecord).animate({
															  color:'#666',
															  backgroundColor:'#eee'
															  },3000);
    //}, 500);
}

function getNow(){
	var now = new Date();
	var hour = now.getHours();
	var minute = now.getMinutes();
	var second = now.getSeconds();
	var monthnumber = now.getMonth()+1;
	var monthday = now.getDate();
	var year = now.getYear()+1900;
	return year+"-"+monthnumber+"-"+monthday+" "+hour+":"+minute+":"+second;
}
-->